package com.zhongli.devplatform.bean;


import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;
import java.util.List;


public class SecurityUser extends User {


    private static final long serialVersionUID = 4222721935114390219L;
    private Integer id;

    private Integer infoId;

    private String accountNum;

    private String weixinId;

    private String qqId;

    public SecurityUser(String accountNum, String password,Collection<? extends GrantedAuthority> authorities) {
        super(accountNum, password, authorities);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getInfoId() {
        return infoId;
    }

    public void setInfoId(Integer infoId) {
        this.infoId = infoId;
    }

    public String getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(String accountNum) {
        this.accountNum = accountNum;
    }

    public String getWeixinId() {
        return weixinId;
    }

    public void setWeixinId(String weixinId) {
        this.weixinId = weixinId;
    }

    public String getQqId() {
        return qqId;
    }

    public void setQqId(String qqId) {
        this.qqId = qqId;
    }
}
